@layout("/common/_container.html"){
<div class="row">
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				<h5>职业管理</h5>
			</div>
			<div class="ibox-content">
				<div class="row row-lg">
					<div class="col-sm-12">
						<div class="row">
							<div class="col-sm-3">
								<#NameCon id="occupation" name="职业名称" />
							</div>
							<div class="col-sm-3">
								<#button name="搜索" icon="fa-search" clickFun="Occupation.search()"/>
							</div>
						</div>
						<div class="hidden-xs" id="OccupationTableToolbar" role="group">
							@if(shiro.hasPermission("/occupation/add")){
							<#button name="添加" icon="fa-plus" clickFun="Occupation.openOccupation()"/>
							@}
							@if(shiro.hasPermission("/occupation/update")){
							<#button name="修改" icon="fa-edit" clickFun="Occupation.openOccupationDetail()" space="true"/>
							@}
							@if(shiro.hasPermission("/occupation/delete")){
							<#button name="删除" icon="fa-remove" clickFun="Occupation.delete()" space="true"/>
							@}
							@if(shiro.hasPermission("/occupation/cancel_delete")){
							<#button name="取消删除" icon="fa-edit" clickFun="Occupation.cancelDelete()" space="true"/>
							@}
						</div>
						<#table id="OccupationTable"/>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="${ctxPath}/static/modular/system/occupation/occupation.js"></script>
@}
